#pragma once
#include <chrono>

class Timer {
public:
	Timer();
	void Start();
	void Stop();
	double Cost();
	void Reset();
private:
	std::chrono::time_point<std::chrono::steady_clock> start;
	std::chrono::time_point<std::chrono::steady_clock> end;
	std::chrono::duration<double> duration;
};